HS=ACK
Host Error Status Register.
HS | These flags indicate the status of a handshake packet to be sent or received. These flags are set to ‘NULL’ when no handshake occurs due to an error or when a SOF token has been ended with the TKNEN bit of the Host Token Endpoint Register (HOST_TOKEN). These bits are updated when sending or receiving has been ended. HS bits change values ‘11’ under the following condition. However, if HS bits are written except the following conditions, the values are ignored.
0 (ACK): Acknowledge Packet 1 (NAK): Non-Acknowledge Packet 2 (STALL): Stall Packet 3 (NULL): Null Packet |
STUFF | If this bit is set to ‘1’, it means that a bit stuffing error is detected. When this bit is ‘0’, it means that no stuffing error is detected. If a stuffing error is detected, bit5 (Timeout) of this register is also set to ‘1’. If this bit is written with ‘1’, it is set to ‘0’. However, if this bit is written with ‘0’, its value is ignored. ‘0’ : No stuffing error. ‘1’ : Stuffing error occurs. Note:
|
TGERR | If this bit is set to ‘1’, it means that the data of this bit does not match the value of the received toggle data. When this bit is ‘0’, it means that no toggle error is detected. If this bit is written with ‘1’, it is set to ‘0’. However, if this bit is written with ‘0’, its value is ignored. ‘0’ : No toggle error. ‘1’ : Toggle error occurs. Note:
|
CRC | If this bit is set to ‘1’, it means that a CRC error is detected in the USB Host. When this bit is ‘0’, it means that no CRC error is detected. If a CRC error is detected, bit5 (Timeout) of this register is also set to ‘1’. When this bit is ‘0’, it means that no CRC error is detected. If this bit is written with ‘1’, it is set to ‘0’. However, if this bit is written with ‘0’, its value is ignored. ‘0’ : No CRC error. ‘1’ : CRC error occurs. Note:
|
TOUT | If this bit is set to ‘1’, it means that no response is returned from the device within the specified time after a token has been sent in the USB Host. When this bit is ‘0’, it means that no timeout is detected. When this bit is ‘0’, it means that no error occurs. If this bit is written with ‘1’, it is set to ‘0’. However, if this bit is written with ‘0’, its value is ignored. ‘0’ : No timeout. ‘1’ : Timeout occurs. Note:
|
RERR | When this bit is set to ‘1’, it means that the received data exceeds the specified maximum number of packets in the USB Host. If a receive error is detected, bit5 (Timeout) of this register is also set to ‘1’. When this bit is ‘0’, it means that no error occurs. If this bit is written with ‘1’, it is set to ‘0’. However, if this bit is written with ‘0’, its value is ignored. ‘0’ : No receive error. ‘1’ : Maximum packet receive error.
|
LSTSOF | If this bit is set to ‘1’, it means that the SOF token can’t be sent in the USB Host because other token is in process. When this bit is ‘0’, it means that no lost SOF error is detected. If this bit is written with ‘1’, it is set to ‘0’. However, if this bit is written with ‘0’, its value is ignored. ‘0’ : Sends SOF. ‘1’ : SOF sending error. Note:
|